﻿<navigation:Page   x:Class="TotalSystems.Store.Views.BaseInfo.Store" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"  xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="2000" d:DesignHeight="800" FlowDirection="RightToLeft"
           Title="مدیریت انبارها" xmlns:my="clr-namespace:TotalSystems.Core.Controls;assembly=TotalSystems.Core">
    <Grid x:Name="LayoutRoot">
        <StackPanel>
            <Canvas Height="45">
                <telerik:RadButton Height="35" Name="Btn_Add" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="ایجاد" Width="35" Canvas.Left="12" Canvas.Top="6">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Add.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" Name="Btn_Edit" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="ویرایش" Canvas.Left="49" Canvas.Top="6">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Edit.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" Name="Btn_Delete" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="حذف" Canvas.Left="86" Canvas.Top="6">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Delete.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" Name="Btn_Help" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="راهنمای فرم" Canvas.Left="123" Canvas.Top="6">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Help.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <RadioButton Content="فعال" Height="16" Name="RAB_ActiveNode" IsChecked="True" Canvas.Left="173" Canvas.Top="12" />
                <RadioButton Content="غیر فعال" Height="16" Name="RAD_NotActiveNode" Canvas.Left="226" Canvas.Top="12" />
                <RadioButton Content="هردو" Height="16" Name="RAD_BothNode" Canvas.Left="292" Canvas.Top="12" />
            </Canvas>

            <Canvas Height="500">
                <CheckBox Content=" : وضعیت " ToolTipService.ToolTip="وضعیت رکورد" Height="16" Name="CHK_STR_Store_Active" FlowDirection="RightToLeft" IsEnabled="False" Canvas.Left="346" Canvas.Top="353" />
                <CheckBox Content=" : Is Expand " ToolTipService.ToolTip="وضعیت باز یا بسته بودن نود" Height="16" Name="CHK_STR_Store_IsExpand" FlowDirection="RightToLeft" IsEnabled="False" Canvas.Left="440" Canvas.Top="353" />
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="radButton1" ToolTipService.ToolTip="راهنمای فرم" Width="25" Canvas.Left="589" Canvas.Top="159">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_AcceptFolder.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="radButton2" ToolTipService.ToolTip="راهنمای فرم" Width="25" Canvas.Left="618" Canvas.Top="159">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Search.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="radButton3" ToolTipService.ToolTip="راهنمای فرم" Width="25" Canvas.Left="589" Canvas.Top="189">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_AcceptFolder.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="radButton4" ToolTipService.ToolTip="راهنمای فرم" Width="25" Canvas.Left="618" Canvas.Top="189">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Search.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="radButton5" ToolTipService.ToolTip="راهنمای فرم" Width="25" Canvas.Left="589" Canvas.Top="220">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_AcceptFolder.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="radButton6" ToolTipService.ToolTip="راهنمای فرم" Width="25" Canvas.Left="618" Canvas.Top="220">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Search.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="radButton7" ToolTipService.ToolTip="راهنمای فرم" Width="25" Canvas.Left="591" Canvas.Top="6">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_AcceptFolder.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="radButton8" ToolTipService.ToolTip="راهنمای فرم" Width="25" Canvas.Left="618" Canvas.Top="6">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Search.PNG" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <my:LabeledText IsMandatory="True" LabelText="کد انبار" LableWidth="100" Name="labelText1" Text="" Width="240" Canvas.Left="347" Canvas.Top="8" />
                <my:LabeledText IsMandatory="True" LabelText="کد والد" LableWidth="100" Name="labeledText1" Text="" Width="240" Canvas.Left="687" Canvas.Top="9" />
                <my:LabeledText IsMandatory="True" LabelText="نام انبار" LableWidth="100" Name="labeledText2" Text="" Width="240" Canvas.Left="347" Canvas.Top="37" />
                <my:LabeledText IsMandatory="True" LabelText="تلفن" LableWidth="100" Name="labeledText3" Text="" Width="240" Canvas.Left="347" Canvas.Top="67" />
                <my:LabeledText LabelText="فکس" LableWidth="100" Name="labeledText4" Text="" Width="240" Canvas.Left="687" Canvas.Top="66" />
                <my:LabeledText LabelText="تاریخ شروع کار انبار" LableWidth="100" Name="labeledText5" Text="" Width="240" Canvas.Left="347" Canvas.Top="98" />
                <my:LabeledText IsMandatory="True" LabelText="کد مدیر انبار" LableWidth="100" Name="labeledText6" Text="" Width="240" Canvas.Left="347" Canvas.Top="159" />
                <my:LabeledText LabelText="نام مدیر انبار" LableWidth="100" Name="labeledText7" Text="" Width="240" Canvas.Left="687" Canvas.Top="160" />
                <my:LabeledText IsMandatory="True" LabelText="کد نماینده فنی انبار" LableWidth="100" Name="labeledText8" Text="" Width="240" Canvas.Left="347" Canvas.Top="190" />
                <my:LabeledText IsMandatory="False" LabelText="نام نماینده فنی انبار" LableWidth="100" Name="labeledText9" Text="" Width="240" Canvas.Left="687" Canvas.Top="189" />
                <my:LabeledText IsMandatory="True" LabelText="کد حسابداری انبار" LableWidth="100" Name="labeledText10" Text="" Width="240" Canvas.Left="347" Canvas.Top="220" />
                <my:LabeledText IsMandatory="False" LabelText="شرح کد حسابداری" LableWidth="100" Name="labeledText11" Text="" Width="412" Canvas.Left="687" Canvas.Top="219" />
                <my:LabeledText IsMandatory="False" LabelText="موقعیت انبار" LableWidth="100" Name="labeledText12" Text="" Width="455" Canvas.Left="347" Canvas.Top="262" />
                <my:LabeledText IsMandatory="False" LabelText="آدرس انبار" LableWidth="100" Name="labeledText13" Text="" Width="455" Canvas.Left="347" Canvas.Top="291" />
                <my:LabeledText IsMandatory="False" LabelText="توضیحات" LableWidth="100" Name="labeledText14" Text="" Width="455" Canvas.Left="347" Canvas.Top="322" />
                <my:LabeledCombo Height="25" Name="labeledCombo1" Width="239" LableWidth="100" LabelText="نوع انبار" IsMandatory="True" Canvas.Left="687" Canvas.Top="37" />
                <my:LabeledCombo Height="25" LabelText="محل جغرافیایی انبار" LableWidth="100" Name="labeledCombo2" Width="239" Canvas.Left="348" Canvas.Top="129" />
                <my:LabeledCombo Height="25" IsMandatory="True" LabelText="نحوه قیمت گذاری" LableWidth="100" Name="labeledCombo3" Width="239" Canvas.Left="687" Canvas.Top="97" />
                <my:LabeledCombo Height="25" LabelText="نوع طرح مورد استفاده" LableWidth="100" Name="labeledCombo4" Width="239" Canvas.Left="687" Canvas.Top="129" />
                <my:BaseDefenitionsTreeView Height="300" IDPropertyName="STR_Store_ID" IsActivePropertyName="STR_Store_Active" IsExpandedPropertyName="STR_Store_IsExpand" IsTabStop="False" ItemsSource="{Binding StoreEntitys}" Name="baseDefenitionsTreeView1" NamePropertyName="STR_Store_Name" ParentIdPropertyName="STR_Store_Parent_ID_fk" Width="325" Canvas.Left="12" Canvas.Top="6" />
                <telerik:RadButton Height="35" Width="35" HorizontalAlignment="Left" Margin="719,402,0,0" Name="Btn_Accept" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="تایید" Visibility="Collapsed" >
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Save.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Height="35" Width="35" HorizontalAlignment="Left" Margin="756,402,0,0" Name="Btn_Cancel" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="انصراف" Visibility="Collapsed" >
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Cancel.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>

            </Canvas>
        </StackPanel>
    </Grid>
</navigation:Page>
